package com.nebula.upms.dao.mapper;

import com.nebula.upms.model.po.UpmsPrivilegePO;
import com.nebula.upms.model.po.UpmsPrivilegePOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UpmsPrivilegePOMapper {
    long countByExample(UpmsPrivilegePOExample example);

    int deleteByExample(UpmsPrivilegePOExample example);

    int deleteByPrimaryKey(String privilegeId);

    int insert(UpmsPrivilegePO record);

    int insertSelective(UpmsPrivilegePO record);

    List<UpmsPrivilegePO> selectByExample(UpmsPrivilegePOExample example);

    UpmsPrivilegePO selectByPrimaryKey(String privilegeId);

    int updateByExampleSelective(@Param("record") UpmsPrivilegePO record, @Param("example") UpmsPrivilegePOExample example);

    int updateByExample(@Param("record") UpmsPrivilegePO record, @Param("example") UpmsPrivilegePOExample example);

    int updateByPrimaryKeySelective(UpmsPrivilegePO record);

    int updateByPrimaryKey(UpmsPrivilegePO record);
}